package com.fuershiye.woman.monitor.model;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * @author yongyongdong
 * 
 * 系统发布的公告信息
 *
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "bulletin")
public class Bulletin  extends LongIdEntity{
	
	//内容id
	private Long cid;
	private String title;
	//类型 1:通知;2:公告
	private Integer type;
	//数值越大级别越高,默认:0
	private Integer level;
	//创建时间
	private Date ctime;
	//修改时间
	private Date mtime;
	//创建者
	private String author;
	//编辑人员
	private String editor;
	//文章来源
	private String resources;
	//公告的有效(截止)日期,null永不过期
	private Date expire;
	//0:删除;1:正常
	private Integer status;
	
	public Long getCid() {
		return cid;
	}
	public String getTitle() {
		return title;
	}
	public Integer getLevel() {
		return level;
	}
	public Integer getType() {
		return type;
	}
	public Date getCtime() {
		return ctime;
	}
	public Date getMtime() {
		return mtime;
	}
	public String getAuthor() {
		return author;
	}
	public String getEditor() {
		return editor;
	}
	public String getResources() {
		return resources;
	}
	public Date getExpire() {
		return expire;
	}
	public Integer getStatus() {
		return status;
	}
	
	public void setCid(Long cid) {
		this.cid = cid;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	public void setCtime(Date ctime) {
		this.ctime = ctime;
	}
	public void setMtime(Date mtime) {
		this.mtime = mtime;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public void setEditor(String editor) {
		this.editor = editor;
	}
	public void setResources(String resources) {
		this.resources = resources;
	}
	public void setExpire(Date expire) {
		this.expire = expire;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
}

